package day009.picture_puzzle.itheima001;

import javax.swing.*;

public class PictureFrame extends JFrame {
    public PictureFrame() {
        initFrame();
        this.setVisible(true);
    }

    public void initFrame() {
        this.setSize(960, 565);
        this.setTitle("动漫拼图");
        this.setDefaultCloseOperation(3);
        this.setLocationRelativeTo(null);
        this.setAlwaysOnTop(true);
        this.setLayout(null);
    }
}
